# encoding: utf-8

class MovieUploader < BaseUploader

  #process :resize_to_fill => [280, 400]
  process :resize_to_fill => [210, 300]

  version :small do
    process :resize_to_fill => [70, 100]
  end

  version :normal do
    process :resize_to_fill => [140, 200]
  end

  #version :large  do
  #  process :resize_to_fill => [210, 300]
  #end

  #version :large do
  #  process :resize_to_fill => [280, 400]
  #end


  def extension_white_list
    %w(jpg jpeg png gif)
  end


  def default_url
      "photo/" + [version_name, "movie.png"].compact.join('_')
   end
end
